package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

public interface CheckGroupMapper {
    Page<CheckGroup> findByCondition(String queryString);

    void add(CheckGroup checkGroup);

    void setItemIdAndGroupId(Map map);

    void deleteById(Integer id);

    List<Integer> findCheckitemIdsByCheckgroupId(Integer checkgroupId);

    void deleteForeignData(Integer id);

    void edit(CheckGroup checkGroup);

    List<CheckGroup> findAll();

}
